package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.PortBlueRuleEntity;
import com.hualude.roadsign.model.PortRedRuleEntity;

/**
 * Created by xu_jiaHui on 2017/12/9.
 */
public class PortBlueRuleDto {
    private Integer blueRuleId;
    private Integer ruleModelId;
    private Integer blueRuleLevel;
    private String blueRuleName;
    private String blueRuleContent;
    private Integer blueRuleLimitTime;
    private String blueRuleFlag;

    public Integer getBlueRuleId() {
        return blueRuleId;
    }

    public void setBlueRuleId(Integer blueRuleId) {
        this.blueRuleId = blueRuleId;
    }

    public Integer getBlueRuleLevel() {
        return blueRuleLevel;
    }

    public void setBlueRuleLevel(Integer blueRuleLevel) {
        this.blueRuleLevel = blueRuleLevel;
    }

    public Integer getRuleModelId() {
        return ruleModelId;
    }

    public void setRuleModelId(Integer ruleModelId) {
        this.ruleModelId = ruleModelId;
    }

    public String getBlueRuleName() {
        return blueRuleName;
    }

    public void setBlueRuleName(String blueRuleName) {
        this.blueRuleName = blueRuleName;
    }

    public String getBlueRuleContent() {
        return blueRuleContent;
    }

    public void setBlueRuleContent(String blueRuleContent) {
        this.blueRuleContent = blueRuleContent;
    }

    public Integer getBlueRuleLimitTime() {
        return blueRuleLimitTime;
    }

    public void setBlueRuleLimitTime(Integer blueRuleLimitTime) {
        this.blueRuleLimitTime = blueRuleLimitTime;
    }

    public String getBlueRuleFlag() {
        return blueRuleFlag;
    }

    public void setBlueRuleFlag(String blueRuleFlag) {
        this.blueRuleFlag = blueRuleFlag;
    }

    public PortBlueRuleEntity toBean() {
        return new PortBlueRuleEntity(blueRuleId,ruleModelId,blueRuleLevel,blueRuleName,blueRuleContent,blueRuleLimitTime,blueRuleFlag);
    }

}
